#include "problems/20.h"
#include "gtest/gtest.h"
#include <string>

using namespace std;

TEST(TestProblemSolutions, TestProblem20)
{
    problem_20::Solution s;
    ASSERT_EQ(s.isValid("()"), true);
    ASSERT_EQ(s.isValid("()[]{}"), true);
    ASSERT_EQ(s.isValid("(]"), false);
    ASSERT_EQ(s.isValid("([)]"), false);
    ASSERT_EQ(s.isValid("{[]}"), true);
}